package com.hyxt.utils;


import com.hyxt.DTO.CommonMessage;
import com.hyxt.DTO.CommonMessageHeader;
import com.hyxt.superviseservice.CommonMessageBody;
import com.hyxt.superviseservice.IMessageBody;

/**
 * @Project: CNPC_VMS
 * @Title: T808_Process
 * @Description: 消息处理过程抽象类
 * @author: guanhl
 * @date: 2014年3月24日 下午2:37:15
 * @company: Beijing Huayou Information andCommunication Technology Co.,Ltd
 * @Copyright: Copyright (c) 2014
 * @version V2.0
 */
public abstract class T809_Process<B extends IMessageBody> {


	/**
	 * @Description:获取消息体
	 */
	protected abstract CommonMessageBody getBody(CommonMessageHeader header, byte[] data);

    protected abstract byte[] packData(CommonMessage<B> message);
}
